package com.bestv.search.common.dao;

import com.bestv.search.common.model.SysRole;

import java.util.List;

public interface SysRoleDao extends GenericDao<SysRole, Long> {

    SysRole saveRole(SysRole role);

    List<SysRole> getRoles();

    SysRole getRoleByID(Long id);

    SysRole getRolesByName(String name);
}
